﻿@using Kaiser.Cubic.Service
@{
    var service = new CubicServiceClient();
    var advertSpace = service.GetAdvertSpaceByCode("HomeBanner");
    
    }  
<div class="banner">
                <div id="foucsBox">
                    <ul class="imgCon">
                        <!--展示图片开始-->
                        @foreach (var advert in advertSpace.AdvertDetail)
                        {
                            <li><a href="@advert.Link" target="_blank">
                            <img width="963px" height="373" src="@advert.Affix" /></a>

                            <div class="showPage"></div>
                            </li>
                        }
                        <!--展示图片结束-->
                    </ul>
                    <div class="foucs"></div>


                </div>

            </div>